package com.zhiyou.app.shop.manager.dao.pojo;

/**
 * ShoppingTrolley entity. @author MyEclipse Persistence Tools
 */

public class ShoppingTrolley extends BasePojo {

	private static final long serialVersionUID = 1L;
	// Fields

	private UserDetail userDetail;
	private Goods goods;
	private Integer amount;

	// Constructors

	/** default constructor */
	public ShoppingTrolley() {
	}

	/** full constructor */
	public ShoppingTrolley(UserDetail userDetail, Goods goods, Integer amount) {
		this.userDetail = userDetail;
		this.goods = goods;
		this.amount = amount;
	}

	// Property accessors

	public UserDetail getUserDetail() {
		return this.userDetail;
	}

	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

}